<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./WEB-INF/includes/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">
     <ui:define name="metadata">
        <f:metadata>
            <f:event type="preRenderView" listener="#{applicationRecordBacking.init()}"/>
        </f:metadata>
    </ui:define>
    <ui:define name="metadata">

    </ui:define>

    <ui:define name="title">
        申请记录--OfficeBoost System
    </ui:define>


    <ui:define name="content">
        暂无记录
        <h:form>
            <h:dataTable border="0" value="#{applicationRecordBacking.applyList}" var="row" >
                <h:column> 
                    <f:facet name="header">
                        <h:outputLabel value="申请记录"/>                    
                    </f:facet>

                    <h:link value="#{row.formType}" outcome="#{applicationRecordBacking.togo(row.formType)}">
                        <f:param name="action" value="view"/>
                        <f:param name="taskid" value="#{row.form.id}"/>
                    </h:link>
                </h:column>
            </h:dataTable>
        </h:form>

    </ui:define>

</ui:composition>
